package com.zhongyu.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Configuration;

@Configuration
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderDetail {
	/**未入库 */
	public static final Integer STATE_NOT_IN = 0;
	/**已入库*/
	public static final Integer STATE_IN = 1;
	//未出库
	public static final Integer STATE_NOT_OUT=0;
	//已出库
	public static final Integer STATE_OUT=1;
	private Integer id;

	private Integer goodsId;

	private String goodName;

	private Double price;

	/**
	 * 数量
	 */
	private Integer number;

	/**
	 * 小计
	 */
	private Double money;

	/**
	 * 结束日期
	 */	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	private java.time.LocalDateTime endTime;

	/**
	 * 库管员ID
	 */
	private Integer stockKeeper;

	/**
	 * 仓库ID
	 */
	private Integer storeId;

	/**
	 * 采购：0=未入库，1=已入库  销售：0=未出库，1=已出库
	 */
	private Integer state;

	/**
	 * 订单编号
	 */
	private Integer orderId;
	@TableField(exist = false)
	private Integer providerId;
	@TableField(exist = false)
	private Log log;
	@TableField(exist=false)
	private String yuanYin;


}
